package com.ruoyi.patrol.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 专项检查类型对象 pt_check_type
 *
 * @author Du
 * @date 2023-11-18
 */
public class PtCheckType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 检查名称
     */
    @Excel(name = "检查名称")
    private String checkName;

    /**
     * 填报开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "填报开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date answerStartDate;

    /**
     * 填报结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "填报结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date answerEndDate;
    /**
     * 已填
     */
    private Integer yesFilled;

    /**
     * 未填
     */
    private Integer notFilled;
    /**
     * 删除标志（0代表存在 1代表删除）
     */
    private String delFlag;

    public Integer getYesFilled() {
        return yesFilled;
    }

    public void setYesFilled(Integer yesFilled) {
        this.yesFilled = yesFilled;
    }

    public Integer getNotFilled() {
        return notFilled;
    }

    public void setNotFilled(Integer notFilled) {
        this.notFilled = notFilled;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCheckName(String checkName) {
        this.checkName = checkName;
    }

    public String getCheckName() {
        return checkName;
    }

    public void setAnswerStartDate(Date answerStartDate) {
        this.answerStartDate = answerStartDate;
    }

    public Date getAnswerStartDate() {
        return answerStartDate;
    }

    public void setAnswerEndDate(Date answerEndDate) {
        this.answerEndDate = answerEndDate;
    }

    public Date getAnswerEndDate() {
        return answerEndDate;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("checkName", getCheckName())
                .append("createBy", getCreateBy())
                .append("answerStartDate", getAnswerStartDate())
                .append("createTime", getCreateTime())
                .append("answerEndDate", getAnswerEndDate())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .append("remark", getRemark())
                .toString();
    }
}
